Error connecting to MYSQL database using JDBC

I have a google sheet page that when an entry is updated or inserted it updates or inserts into a mysql DB. Now this has been working fine up until recently. Now the only thing it does is error out with the following

Exception: You do not have permission to call ScriptApp.getProjectTriggers. Required permissions: https://www.googleapis.com/auth/script.scriptapp
    at createOrUpdateTrigger(database_connect:31:30)```

I have reauth this many times but still get the same error in the logs.

My Manifest

{
  "timeZone": "America/New_York",
  "dependencies": {
    "enabledAdvancedServices": []
  },
          "oauthScopes": [
          "https://www.googleapis.com/auth/spreadsheets.readonly",
          "https://www.googleapis.com/auth/userinfo.email",
          "https://www.googleapis.com/auth/script.external_request"
        ],
  "exceptionLogging": "STACKDRIVER",
  "runtimeVersion": "V8"
}

I have tried updating my function and changing the scopes. Everything I read says to go to project properties and adding the scope. This option is not available anywhere i can see.


function updateDatabaseRow(row) {
  // Replace with your Google Sheet ID and sheet name
  const SHEET_ID = 'MyInfo';
  const SHEET_NAME = 'Main'; // Name of the sheet with user data

  // Connect to the MySQL database
  const dbUrl = 'jdbc:mysql://MyInfo';
  const dbUser = 'MyInfo';
  const dbPassword = 'MyInfo';

  try {
    const conn = Jdbc.getConnection(dbUrl, dbUser, dbPassword);

    // Fetch user data from the specified row in Google Sheets
    const sheet = SpreadsheetApp.openById(SHEET_ID).getSheetByName(SHEET_NAME);
    const data = sheet.getRange(row, 1, 1, sheet.getLastColumn()).getValues()[0];

    // Log fetched data
    Logger.log('Fetched data: ' + data);

    // Get headers (assuming first row is header)
    const headers = sheet.getRange(1, 1, 1, sheet.getLastColumn()).getValues()[0];
    const statusIndex = headers.indexOf('Status');
    const roadnameIndex = headers.indexOf('Roadname');
    const emailIndex = headers.indexOf('Email Address');
    const phoneIndex = headers.indexOf('Phone Number');
    const firstnameIndex = headers.indexOf('First Name');
    const surnameIndex = headers.indexOf('Surname');
    const positionIndex = headers.indexOf('Position');
    const liasonIndex = headers.indexOf('Liason');
    const clanNameIndex = headers.indexOf('Chapter Name');
    const stateIndex = headers.indexOf('State');

    const status = data[statusIndex];
    const roadname = data[roadnameIndex];
    const email = data[emailIndex];
    const phone = data[phoneIndex];
    const firstname = data[firstnameIndex];
    const surname = data[surnameIndex];
    const position = data[positionIndex];
    const liason = data[liasonIndex];
    const clanName = data[clanNameIndex];
    const state = data[stateIndex];

    Logger.log('Updating database with: ' + JSON.stringify({
      roadname, state, status, position, liason, clanName, firstname, surname, phone, email
    }));

    if (status.toLowerCase() === 'active') {
      insertOrUpdateActiveUser(conn, roadname, state, status, position, liason, clanName, firstname, surname, phone, email);
    } else {
      updateInactiveUser(conn, email);
    }

    // Close the database connection
    conn.close();
  } catch (error) {
    Logger.log('Error updating database row: ' + error);
  }
}

This is what i have in my settings.

Project OAuth Scopes
5 Scopes Requested
See all your Google Sheets spreadsheets https://www.googleapis.com/auth/spreadsheets.readonly
See your primary Google Account email address   https://www.googleapis.com/auth/userinfo.email
Connect to an external service  https://www.googleapis.com/auth/script.external_request
See, edit, create, and delete all of your Google Drive files    https://www.googleapis.com/auth/drive
See and download all your Google Drive files    https://www.googleapis.com/auth/drive.readonly

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật